package com.hopu.service;

import com.hopu.domain.ContractC;
import com.hopu.domain.ContractProductC;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

public interface ContractProductCService {
    List<ContractProductC> selectByPrimaryKey(String contractId);

    int insert(ContractProductC record);

    int deleteByPrimaryKey(String contractProductId);

    ContractProductC selectPrimaryKey(String contractProductId);

    int updateByPrimaryKey(ContractProductC record);


    List<ContractProductC> selectByContractProductC(String contractId);
    /**
     * 删除合同下所有货物，传CONTRACT_ID
     * @param ids
     */
    int deleteByContractId(@Param("ids") String[] ids);
}
